package com.yxd.bdmapdemo.base;

/**
 * Created by Administrator on 2017/3/24.
 */

public class Constant {

    public static String sreenSize;
    public static String deviceId;
    public static String JPUSH_ID;
    //public static LoginResponse usetInfo;

    public static class URLS {
        /**---------------------------- 正式地址 -----------------------------*/


        /**
         * ---------------------------- 测试地址 -----------------------------
         */
        //访问公共地址
       //  public static final String BASEURL = "http://192.168.0.144:8080";
        public static final String BASEURL = "http://120.77.158.102:8080";
        public static String WEB_SOCKET_URL="ws://120.77.158.102:8080/ws/join?uid=";


    }

    public static class COMMAND {
        public static final String REGISTER_SMS_CODE = "/v1/sms/getcode";//注册获取验证码

        public static final String REGISTER = "/v1/user/register";//注册

        public static final String LOGIN = "/v1/user/login";//登录
        public static final String JPUSHBIND = "/v1/user/jpushbind";//2.4	极光推送绑定
        public static final String RESETPWD = "/v1/user/resetpwd";//2.5	重置密码
        public static final String UPLOAD_PIC = "/v1/picture/uploadpicture";//图片上传

        public static final String DOWNLOAD_PICTURE_URL = "/v1/picture/downloadpictureurl";// 2.33	获取下载图片连接

        public static final String EIDT_USER_INFO = "/v1/me/edit";//编辑基本资料
        public static final String EIDT_REAL_NAME_AUTH = "/v1/me/real_name_auth";//实名认证
        public static final String ORDER_LIST = "/v1/order/list";//2.25	订单-列表
        public static final String CALL_ORDER = "/v1/dd/call";//呼叫
        public static final String GET_PRODUCT_LIST = "/v1/product/get_product_list";//2.26	产品-获取产品列表
        public static final String LOGOUT = "/v1/user/logout";//2.9	退出登录
        public static final String NEAR_ACCOUNTANT = "/v1/map/nearby";//2.34	下载区域信息
        public static final String CANCEL_CALL_ORDER = "/v1/order/cancel";//取消订单

        public static final String DOWNLOAD_AREA = "/v1/dataitem/download_area";//2.34	下载区域信息

    }

    public static class PIC_TYPE {

        public static final String USER_CITIZEN = "user.citizen"; //身份证照片
        public static final String USER_AVATAR = "user.avatar";//形象照片
        public static final String ACCOUNTANT_PERSONAL = "accountant.personal";// 身份证照片
        public static final String ACCOUNTANT_MY_STYLE = "accountant.my_style";//本人照片
        public static final String ACCOUNTANT_COMPOSITE = "accountant.composite";// 身份证与本人合照

        public static final String ACCOUNTANT_CERT = "accountant.cert";//会计从业资格证书
        public static final String ACCOUNTANT_TITLE_CERT = "accountant.title_cert";//会计职称资格证书
        public static final String ACCOUNTANT_LEAVING_CERT = "accountant.leaving_cert";// 毕业证书

        public static final String ACCOUNTANT_CPA_CERT = "accountant.cpa_cert";// 中国注册会计师证书
        public static final String ACCOUNTANT_ICPA_CERT = "accountant.icpa_cert";// 国际注册会计师


    }

    /*"all":       全部
“cancel”    已取消
"accepted":  已接单
"wait":     待付款
"succ":      已付款
*/
    public static class ORDER_STATE {
        public static final String ORDER_ALL = "all"; //全部
        public static final String ORDER_CANCEL = "cancel"; //已取消
        public static final String ORDER_ACCEPTED = "accepted"; //已接单
        public static final String ORDER_WAIT = "wait"; //待付款
        public static final String ORDER_SUCC = "succ"; //已付款


    }
}
